VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
  Persistable = 0  'NotPersistable
  DataBindingBehavior = 0  'vbNone
  DataSourceBehavior  = 0  'vbNone
  MTSTransactionMode  = 0  'NotAnMTSObject
END
Attribute VB_Name = "CTableNode"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Option Explicit

Public Enum TableNodeTypesEnum
    TableNodeTypePASTA
    TableNodeTypeTABELA_INTERNA
    TableNodeTypeTABELA_EXTERNA
End Enum

Private m_sKey$
Private m_sParentKey$
Private m_sCaption$
Private m_sClass$
Private m_nTableNodeType As TableNodeTypesEnum
Private m_sImage$
Private m_sSelectedImage$

Public Property Get Key$()
    Key = m_sKey
End Property

Public Property Let Key(ByVal s As String)
    m_sKey = s
End Property

Public Property Get ParentKey$()
    ParentKey = m_sParentKey
End Property

Public Property Let ParentKey(ByVal s As String)
    m_sParentKey = s
End Property

Public Property Get Caption$()
    ''
    '' Caption = m_sCaption
    Caption = g_AppWrks.resDlls.stLoadMensagemControl("P", Val(m_sCaption))
    ''
End Property

Public Property Let Caption(ByVal s As String)
    m_sCaption = s
End Property

Public Property Get Class$()
    Class = m_sClass
End Property

Public Property Let Class(ByVal s As String)
    m_sClass = s
End Property

Public Property Get NodeType() As TableNodeTypesEnum
    NodeType = m_nTableNodeType
End Property

Public Property Let NodeType(ByVal n As TableNodeTypesEnum)
    m_nTableNodeType = n
End Property

Public Property Get Image$()
    Image = m_sImage
End Property

Public Property Let Image(ByVal s As String)
    m_sImage = s
End Property

Public Property Get SelectedImage$()
    SelectedImage = m_sSelectedImage
End Property

Public Property Let SelectedImage(ByVal s As String)
    m_sSelectedImage = s
End Property

